package org.fuys.coder.domain.act.activity.service;

import org.fuys.coder.common.entity.Pair;
import org.fuys.coder.domain.act.activity.model.vo.CommonActSupportVO;
import org.fuys.coder.domain.act.activity.model.vo.CommonActVO;
import org.fuys.coder.domain.act.support.model.vo.ActVO;
import org.fuys.coder.common.entity.PageDTO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.act.activity.service
 * @className: ICommonActService
 * @author: WangJing
 * @description: 普通活动服务调用接口
 * @date: 2024/8/25 22:40
 * @version: 1.0
 */
public interface ICommonActService {
    CommonActVO getActById(Long actId,Integer state);
    CommonActSupportVO getActSupport(Long actId);

    List<ActVO> getCurHotAct(int num);

    Pair<List<ActVO>,Long> getPage(PageDTO pageDTO);
}
